﻿<Controls:MetroWindow
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Name="Metex" x:Class="wpfMetex.MainWindow"
        Title="Digital Multimeter"
        Height="350"
        Width="261"
        ShowMaxRestoreButton="False"
        ShowIconOnTitleBar="True"
        ShowTitleBar="true"
        TitleCaps="False"
        ResizeMode="NoResize"
        >
    <Controls:MetroWindow.RightWindowCommands>
        <Controls:WindowCommands>
            <Button x:Name="btnSettings" Content="Settings" Click="btnSettings_Click" />
        </Controls:WindowCommands>
    </Controls:MetroWindow.RightWindowCommands>


    <Grid x:Name="gridWindow">
        <Grid x:Name="gridContent" Visibility="Visible" d:IsHidden="True">
            <Button x:Name="btnStart" Content="Start" HorizontalAlignment="Left" Margin="170,286,0,0" VerticalAlignment="Top" Width="75" Click="btnStart_Click"/>
            <TextBox x:Name="txtbWerte" TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" HorizontalAlignment="Left" Height="271" Margin="10,10,0,0" VerticalAlignment="Top" Width="235"/>
        </Grid>

        <Grid x:Name="gridSettings" Visibility="Hidden">
            <CheckBox x:Name="cbxCSV" Content="CSV-Export" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,10,0,0"/>
            <Button x:Name="btnSpeichern" Content="Speichern" HorizontalAlignment="Left" Margin="170,286,0,0" VerticalAlignment="Top" Width="75"/>
        </Grid>
    </Grid>
</Controls:MetroWindow>
